<%@ taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@taglib prefix="sjg" uri="/struts-jquery-grid-tags"%>
<style>
.control-label {
	margin-right: 10px;
	width: 200px;
}
</style>

<s:url id="urlDel" action="modul/user/crud/delete" />

<s:form id="deleteForm" theme="bootstrap" cssClass="form-horizontal"
	label="Konfirmasi Menghapus data User ?">
	<s:hidden name="id" value="%{user.id}"></s:hidden>
	<table class="table">
		<tr>
			<th width="20%">ID</th>
			<td>:</td>
			<td align="left"><s:property value="%{user.id}" /></td>
		</tr>
		<tr>
			<td>Username</td>
			<td>:</td>
			<td align="left"><s:property value="%{user.userName}" /></td>
		</tr>
		<tr>
			<td>Password</td>
			<td>:</td>
			<td align="left"><s:property value="%{user.password}" /></td>
		</tr>
	</table>
</s:form>

<sj:a id="delete" href="%{urlDel}" cssClass="btn"
	formIds="deleteForm" onBeforeTopics="clearTarget"
	targets="resultTarget" onSuccessTopics="reloadPaging"
	onClickTopics="buttonClick">Do Delete</sj:a>